package com.zhku.onlineshop.Service;

import com.zhku.onlineshop.Pojo.Address;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface AddressService {
    boolean AddAddress(Address address);

    boolean DelAddressById(Integer id);

    boolean UpdAddressById(Address address);

    List<Address> SelAddressById(Integer userId);

    List<Address> SelAddressByAddressId(Integer id);
}
